#ifndef _TK2_H_
#define _TK2_H_

#include "main.h"

#define OUT1 HAL_GPIO_ReadPin(OUT1_GPIO_Port,OUT1_Pin)
#define OUT2 HAL_GPIO_ReadPin(OUT2_GPIO_Port,OUT2_Pin)
#define OUT3 HAL_GPIO_ReadPin(OUT3_GPIO_Port,OUT3_Pin)
#define OUT4 HAL_GPIO_ReadPin(OUT4_GPIO_Port,OUT4_Pin)
#define OUT5 HAL_GPIO_ReadPin(OUT5_GPIO_Port,OUT5_Pin)

#define TK2_Value (OUT5<<4)|(OUT4<<3)|(OUT3<<2)|(OUT2<<1)|(OUT1<<0)
void find_line(void);
#endif
